USE [ProductInfo]
GO

/****** Object:  Table [BaseInfo].[CategoryProperty]    Script Date: 2014/6/11 23:12:46 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [BaseInfo].[CategoryProperty](
	[CategoryPropertyID] [int] IDENTITY(1,1) NOT NULL,
	[Code] [nvarchar](10) NOT NULL,
	[Color] [nvarchar](10) NULL,
	[Size] [nchar](10) NULL,
	[IsDel] [bit] NULL,
	[CreateUser] [nvarchar](10) NULL,
	[CreateTime] [datetime] NULL,
	[UpdateUser] [nvarchar](10) NULL,
	[UpdateTime] [datetime] NULL,
 CONSTRAINT [PK_CategoryProperty] PRIMARY KEY CLUSTERED 
(
	[CategoryPropertyID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [BaseInfo].[CategoryProperty] ADD  CONSTRAINT [DF_CategoryProperty_CreateUser]  DEFAULT (N'Pu') FOR [CreateUser]
GO

ALTER TABLE [BaseInfo].[CategoryProperty] ADD  CONSTRAINT [DF_CategoryProperty_CreateTime]  DEFAULT (getdate()) FOR [CreateTime]
GO

ALTER TABLE [BaseInfo].[CategoryProperty] ADD  CONSTRAINT [DF_CategoryProperty_UpdateUser]  DEFAULT (N'Pu') FOR [UpdateUser]
GO

ALTER TABLE [BaseInfo].[CategoryProperty] ADD  CONSTRAINT [DF_CategoryProperty_UpdateTime]  DEFAULT (getdate()) FOR [UpdateTime]
GO

